
.PHONY:all
all:parser ssvr test
parser:parser.cc
	g++ -o parser parser.cc -lboost_system -lboost_filesystem   -std=c++11

ssvr:searcher.cpp
	g++ -o ssvr searcher.cpp -lboost_system -lboost_filesystem -ljsoncpp -lpthread -std=c++11

test:test.cc	
	g++ -o test test.cc -ljsoncpp -lpthread -std=c++11

.PHONY:clean
clean:
	rm -f parser
	rm -f ssvr
	rm -f test